package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 * 
 * @author ruoyi
 */
@Component
@ConfigurationProperties(prefix = "spring.mail")
public class EmailConfig
{
    private String host;
    private String username;
    private String password;
    private String sendImmediateSubject;
    private String preRemindContent;
    private String preRemindSubject;
    private String sendImmediateContent;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSendImmediateSubject() {
        return sendImmediateSubject;
    }

    public void setSendImmediateSubject(String sendImmediateSubject) {
        this.sendImmediateSubject = sendImmediateSubject;
    }

    public String getPreRemindSubject() {
        return preRemindSubject;
    }

    public void setPreRemindSubject(String preRemindSubject) {
        this.preRemindSubject = preRemindSubject;
    }

    public String getPreRemindContent() {
        return preRemindContent;
    }

    public void setPreRemindContent(String preRemindContent) {
        this.preRemindContent = preRemindContent;
    }

    public String getSendImmediateContent() {
        return sendImmediateContent;
    }

    public void setSendImmediateContent(String sendImmediateContent) {
        this.sendImmediateContent = sendImmediateContent;
    }
}
